//
//  PKCommunityTopicModel.m
//  PianKe
//
//  Created by ybq on 15/12/30.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKCommunityTopicModel.h"

@implementation PKCommunityTopicModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"counterList"]) {
        _comment = value[@"comment"];
        _like = value[@"like"];
        _view = value[@"view"];
    }
    if ([key isEqualToString:@"userinfo"]) {
        _icon = value[@"icon"];
        _uname = value[@"uname"];
        _uid = value[@"uid"];
    }
}


@end
